#define _CRT_SECRUE_NO_WARNINGS
#include"heap.h"

int main()
{
	Heap hp;
	HeapCreate(&hp, 5);
	HeapPush(&hp, 1);
	HeapPush(&hp, 4);
	HeapPush(&hp, 3);
	HeapPush(&hp, 9);
	HeapPush(&hp, 6);
	HeapPush(&hp, 4);
	HeapPush(&hp, 5);
	HeapPush(&hp, 7);
	HeapPush(&hp, 3);
	HeapPrint(&hp);
	HeapPop(&hp);
	HeapPrint(&hp);

	return 0;
}